package com.aspose.cells;

class zced extends zcdb {
   zced() {
      this.d = 170;
   }

   void a(Top10Filter var1) {
      this.c = new byte[17];
      byte var2 = 0;
      if (var1.isTop()) {
         var2 = (byte)(var2 | 1);
      }

      if (var1.isPercent()) {
         var2 = (byte)(var2 | 2);
      }

      if (var1.getCriteria() != null) {
         var2 = (byte)(var2 | 4);
      }

      this.c[0] = var2;
      System.arraycopy(com.aspose.cells.b.a.zc.a((double)var1.getItems()), 0, this.c, 1, 8);
      if (var1.getCriteria() != null) {
         System.arraycopy(com.aspose.cells.b.a.zc.a((Double)var1.getCriteria()), 0, this.c, 9, 8);
      }

   }
}
